package cn.zwx.member.svc.domain.enums;

import lombok.Getter;

/**
 * @author zhangwenxue
 */
@Getter
public enum MemberBizCodeEnum {

    ADDRESS_VALIDATE_ERROR(20001, "地址信息有误请检查"),
    ADDRESS_NOT_EXISTS(20002, "地址信息不存在"),
    MEMBER_GROUP_EXISTS(20003, "会员分组已经存在"),
    MEMBER_GROUP_NOT_EXISTS(20003, "会员分组不存在"),
    GROUP_HAS_USER(20004, "分组存在用户");
    private Integer code;

    private String msg;

    MemberBizCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
